package com.example.community.repository;

import com.example.community.entity.user;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface userMapper {
    List<user> queryUser();
    user queryUserByUsername(String username);
    int addUser(user user);
    int updateUser(user user);
    int deleteUser(String id);
}
